combobox: Remove unused argument from private function
authorBenjamin Otte <otte@redhat.com>
Sat, 18 Jul 2015 03:10:39 +0000 (05:10 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 18 Jul 2015 03:18:19 +0000 (05:18 +0200)
gtk/gtkcombobox.c

index f9c7ba86e46dcf122d3e513ed61002dcf3a14373..70924fe5e68fbfb1bd89c724da2fffa272a4d61b 100644 (file)
@@ -385,8 +385,7 @@ static void     gtk_combo_box_list_row_changed     (GtkTreeModel     *model,
 static void     gtk_combo_box_list_popup_resize    (GtkComboBox      *combo_box);
 
 /* menu */
-static void     gtk_combo_box_menu_setup           (GtkComboBox      *combo_box,
-                                                    gboolean          add_children);
+static void     gtk_combo_box_menu_setup           (GtkComboBox      *combo_box);
 static void     gtk_combo_box_update_title         (GtkComboBox      *combo_box);
 static void     gtk_combo_box_menu_destroy         (GtkComboBox      *combo_box);
 
@@ -1484,7 +1483,7 @@ gtk_combo_box_check_appearance (GtkComboBox *combo_box)
 
       /* Create the menu mode widgets, if they don't already exist. */
       if (!GTK_IS_MENU (priv->popup_widget))
-        gtk_combo_box_menu_setup (combo_box, TRUE);
+        gtk_combo_box_menu_setup (combo_box);
     }
 
   gtk_widget_style_get (GTK_WIDGET (combo_box),
@@ -1650,7 +1649,7 @@ gtk_combo_box_remove (GtkContainer *container,
   if (appears_as_list)
     gtk_combo_box_list_setup (combo_box);
   else
-    gtk_combo_box_menu_setup (combo_box, TRUE);
+    gtk_combo_box_menu_setup (combo_box);
 
   if (gtk_tree_row_reference_valid (priv->active_row))
     {
@@ -3104,8 +3103,7 @@ gtk_combo_box_header_func (GtkTreeModel      *model,
 }
 
 static void
-gtk_combo_box_menu_setup (GtkComboBox *combo_box,
-                          gboolean     add_children)
+gtk_combo_box_menu_setup (GtkComboBox *combo_box)
 {
   GtkComboBoxPrivate *priv = combo_box->priv;
   GtkWidget *child;